//
//  EJournalsAppDelegate.m
//  EJournals
//
//  Created by pakeyfan on 12-6-15.
//  Copyright pakeyfan.personal 2012. All rights reserved.
//

#import "EJournalsAppDelegate.h"//应用委托
#import "WelcomeController.h"


@implementation EJournalsAppDelegate

@synthesize window;
@synthesize tabBarController;
@synthesize welcome;//zi ji tian 

- (void)applicationDidFinishLaunching:(UIApplication *)application {
    
    // Add the tab bar controller's current view as a subview of the window
    //[window addSubview:tabBarController.view];
	[self.window addSubview:welcome.view];
	[self.welcome initPage];
}


/*
// Optional UITabBarControllerDelegate method
- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController {
}
*/

/*
// Optional UITabBarControllerDelegate method
- (void)tabBarController:(UITabBarController *)tabBarController didEndCustomizingViewControllers:(NSArray *)viewControllers changed:(BOOL)changed {
}
*/


- (void)dealloc {
    [tabBarController release];
    [window release];
    [super dealloc];
}

@end

